package service;

import po.ComboboxItem;
import po.Memory;
import po.Result;

import java.util.List;

public interface MemoryService {
    public List<Memory> findAllMemories(Memory memory) throws Exception;
    public Result addMemory(Memory memory);
    public Result deleteMemoryById(int id);
    public List<ComboboxItem> findMemoryForComb() throws Exception;
    public Result updateMemoryById(int id, Memory memory);
}
